package com.zzf.fragmentbestpractice

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)


        var count = "ABC123xyz".lettersCount()
        Log.d("首页","字符串个数是$count")

        val str = "ABC"
        Log.d("首页",str*5)
        print(str*5)
    }
}